package org.dromara.bclt.dubbo;

import lombok.RequiredArgsConstructor;
import org.apache.dubbo.config.annotation.DubboService;
import org.dromara.bclt.api.RemoteCourseService;
import org.dromara.bclt.api.domain.bo.RemoteCourseBo;
import org.dromara.bclt.api.domain.vo.RemoteCourseVo;
import org.dromara.bclt.service.ICourseService;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

@RequiredArgsConstructor
@Service
@DubboService
public class RemoteCourseServiceImpl implements RemoteCourseService {

    private final ICourseService courseService;


    @Override
    public String selectCourseNameById(Long id) {
        return courseService.selectNameById(id);
    }
}
